Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port build system to meson #6

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Port build system to meson #6

wants to merge 4 commits into from

Conversation

sternenseemann
Copy link
Owner

No description provided.

This means that we can finally build a shared library correctly without
to much hassle and will be able to use pkgsStatic as well (provided we
fix the dependencies upstream).

redo is nice, but, while its dependency tracking is better, you end up
scripting a lot in a lot of different places.
We'll be able to use this for the Haskell bindings and will ease
packaging in general.
buchstabensuppe.h already included bitmap.h, flipdot.h was the only
independent one. Since it is relatively simple and contains generally
useful view manipulation routines, we can merge it into the main one as
well.
.dep**
.target.*
.lock.*
/build

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good news, even this single line is unnecessary: https://mesonbuild.com/FAQ.html#how-do-i-ignore-the-build-directory-in-my-vcs

:)

harfbuzz = dependency('harfbuzz')
# TODO: no pkg-config upstream, maybe ask for it?
schrift = cc.find_library('schrift')
math = cc.find_library('m')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On some platforms, the math library is built into libc. We suggest you use required: false here:
https://mesonbuild.com/howtox.html#add-math-library-lm-portably

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants